using UnityEngine;

namespace Crosstales.OnlineCheck.Demo
{
    // [Assembly-CSharp-firstpass.dll].Crosstales.OnlineCheck.Demo.EventTester
    public class EventTester : MonoBehaviour
    {
        // Methods
        public void OnStatusChange(bool isConnected)
        {
            bool val_1 = isConnected;
            UnityEngine.Debug.Log(message:  System.String.Format(format:  -1610604769, arg0:  536883173));
        }
        public void OnPingComplete(float time)
        {
            float val_2 = 1000f;
            val_2 = time * val_2;
            UnityEngine.Debug.Log(message:  System.String.Format(format:  -1610604775, arg0:  536892547));
        }
        public void OnSpeedTestComplete(double duration, double speed)
        {
            long val_5 = (long)speed;
            val_5 = (val_5 < 0) ? (val_5 + 7) : (val_5);
            val_5 = val_5 >> 3;
            UnityEngine.Debug.Log(message:  System.String.Format(format:  -1610604773, arg0:  536885233, arg1:  Crosstales.Common.Util.BaseHelper.FormatBytesToHRF(bytes:  (speed == Infinity) ? 0 : (val_5), useSI:  false)));
        }
        public void OnSpeedTestNETComplete(double duration, double speed, double uploadspeed)
        {
            long val_8 = (long)speed;
            val_8 = (val_8 < 0) ? (val_8 + 7) : (val_8);
            val_8 = val_8 >> 3;
            long val_9 = (long)uploadspeed;
            val_9 = (val_9 < 0) ? (val_9 + 7) : (val_9);
            val_9 = val_9 >> 3;
            UnityEngine.Debug.Log(message:  System.String.Format(format:  -1610604771, arg0:  536885233, arg1:  Crosstales.Common.Util.BaseHelper.FormatBytesToHRF(bytes:  (speed == Infinity) ? 0 : (val_8), useSI:  false), arg2:  Crosstales.Common.Util.BaseHelper.FormatBytesToHRF(bytes:  (uploadspeed == Infinity) ? 0 : (val_9), useSI:  false)));
        }
        public EventTester()
        {
        
        }
    
    }

}
